/* ─────────────────────────────────────────────────────────────
   Cartridge Works v2 — Game Boy-flavoured, not Game Boy-shaped
   Brand palette first. Pixel type + cartridge metaphor as accents.
   ───────────────────────────────────────────────────────────── */

@font-face { font-family:"GeistMono"; src:url("assets/fonts/GeistMono-Regular.woff2") format("woff2"); font-display:swap; }
@font-face { font-family:"GeistPixel Square"; src:url("assets/fonts/GeistPixel-Square.woff2") format("woff2"); font-display:swap; }

:root {
  --ink:       #190A06;
  --cream:     #FFF5EE;
  --paper:     #F6E8D9;
  --orange:    #FF6539;     /* primary accent */
  --amber:     #FFB366;     /* secondary accent */
  --amber-bg:  #FFE9D3;     /* soft amber wash */
  --moss:      #3d5e2a;
  --moss-bg:   #dfe5c9;
  --rule:      rgba(25,10,6,0.18);
  --page-bleed: max(0px, 50vw - 640px); /* how far the viewport extends beyond the 1280px container */
}

*, *::before, *::after { box-sizing: border-box; }

/* custom cursor — dark arrow by default, orange on interactive elements */
html, body {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='20'%3E%3Cpolygon points='0,0 0,19 13.7,13.7' fill='white'/%3E%3Cpolygon points='1,1 1,17 12.3,12.3' fill='%23190A06'/%3E%3C/svg%3E") 1 1, auto;
}
a, button, [role="button"], select, label,
.btn, .cart, .rail-btn, .cta-btn, .reel-play, .hero-scroll,
.logo-set img, .credits-stage, .compose-toolbar button {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='20'%3E%3Cpolygon points='0,0 0,19 13.7,13.7' fill='white'/%3E%3Cpolygon points='1,1 1,17 12.3,12.3' fill='%23FF6539'/%3E%3C/svg%3E") 1 1, pointer;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: "Bricolage Grotesque", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 180px;
}

.hero-full,
[id^="ch-"] {
  scroll-margin-top: 180px;
}

@media (max-width: 760px) {
  html { scroll-padding-top: 220px; }
  .hero-full, [id^="ch-"] { scroll-margin-top: 220px; }
}

/* full-screen hero */
.hero-full {
  position: relative;
  min-height: 100vh;
  padding: 40px 40px 80px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

/* CRT overlay: scanlines + vignette + phosphor tint + flicker — breaks out of max-width container */
.hero-full::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  pointer-events: none;
  z-index: 10;
  background:
    linear-gradient(rgba(210, 90, 30, 0.08), rgba(210, 90, 30, 0.08)),
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.055) 0px,
      rgba(0, 0, 0, 0.055) 1px,
      transparent 1px,
      transparent 4px
    ),
    radial-gradient(ellipse at 50% 45%, transparent 50%, rgba(25, 10, 6, 0.32) 100%);
  animation: crtFlicker 6s linear infinite;
}

@keyframes crtFlicker {
  0%,   87%,  89%,  92%,  94%,  100% { opacity: 1; }
  88%,  90%   { opacity: 0.88; }
  93%         { opacity: 0.94; }
}
.hero-full .hero { width: 100%; }
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  font-family: "GeistPixel Square", monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.7;
}
.hero-scroll:hover { opacity: 1; color: var(--orange); }
.hero-scroll .arrow { animation: scrollBob 1.4s ease-in-out infinite; font-size: 14px; }
@keyframes scrollBob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(4px)} }

.topbar.sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  margin-bottom: 0;
  padding: 18px calc(40px + var(--page-bleed)) 20px;
  margin-left: calc(-40px - var(--page-bleed));
  margin-right: calc(-40px - var(--page-bleed));
  border-bottom: 2px solid var(--ink);
  box-shadow: 0 4px 0 0 var(--amber);
}

@media (max-width: 760px) {
  .topbar.sticky {
    padding: 14px 20px 12px;
    margin-left: -20px;
    margin-right: -20px;
  }
}

.stage > div + div { margin-top: 0; padding-top: 0; border-top: none; }

/* ─── SECTION COLOUR BLOCKS ──────────────────────────────────── */
#ch-1, #ch-2, #ch-3, #ch-4, #ch-5, #ch-6 {
  position: relative;
  margin-left: calc(-40px - var(--page-bleed));
  margin-right: calc(-40px - var(--page-bleed));
  padding: 72px calc(40px + var(--page-bleed));
}
@media (max-width: 760px) {
  #ch-1, #ch-2, #ch-3, #ch-4, #ch-5, #ch-6 {
    margin-left: -20px;
    margin-right: -20px;
    padding: 48px 20px;
  }
}
#ch-1 { background: var(--paper); }
#ch-2 { background: var(--orange); color: var(--ink); }
#ch-3 { background: var(--amber-bg); }
#ch-4 { background: var(--ink); color: var(--cream); }
#ch-5 { background: var(--cream); }
#ch-6 { background: var(--orange); }

/* Grain texture on warm sections */
#ch-1, #ch-3 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}


/* Showreel on orange */
#ch-2 .h-section,
#ch-2 .body-copy { color: var(--ink); }
#ch-2 .showreel-head .meta { color: var(--ink); }
#ch-2 .reel-wrap { box-shadow: 8px 8px 0 0 var(--ink); }

/* Process on dark */
#ch-4 .eyebrow { color: var(--ink); border-color: var(--ink); }
#ch-4 .h-section { color: var(--cream); }
#ch-4 .process-def { background: var(--paper); border-color: var(--ink); }
#ch-4 .process-copy p,
#ch-4 .process-kicker { color: var(--cream); }
#ch-4 .process-closer { color: var(--amber); border-color: rgba(255,255,255,0.2); }
#ch-4 .process-tags { color: var(--cream); }

/* Contact on orange */
#ch-6 .eyebrow { background: var(--ink); color: var(--amber); }
#ch-6 .h-section,
#ch-6 .hiw-step p,
#ch-6 .hiw-n,
#ch-6 .hiw-t { color: var(--ink); }
#ch-6 .btn { background: var(--ink); color: var(--cream); border-color: var(--ink); box-shadow: 4px 4px 0 0 var(--orange); }
#ch-6 .btn:hover { box-shadow: 3px 3px 0 0 var(--orange); }
#ch-6 .compose { box-shadow: 6px 6px 0 0 var(--ink); }

/* ─── PROCESS SECTION ─────────────────────────────────────── */
.process-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 28px;
}
@media (max-width: 900px) { .process-layout { grid-template-columns: 1fr; gap: 40px; } }

.process-def {
  border: 2px solid var(--ink);
  background: var(--cream);
  padding: 28px 30px;
  box-shadow: 6px 6px 0 0 var(--orange);
}
.process-word {
  font-family: "Jersey 10", sans-serif;
  font-size: clamp(52px, 5.5vw, 80px);
  line-height: 0.88;
  display: block;
  color: var(--ink);
}
.process-meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 10px 0 20px;
}
.process-phonetic {
  font-family: "GeistMono", monospace;
  font-size: 13px;
  color: var(--ink);
  opacity: 0.5;
}
.process-pos {
  font-family: "GeistMono", monospace;
  font-size: 12px;
  font-style: italic;
  color: var(--orange);
}
.process-meanings {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px dashed var(--rule);
  padding-top: 18px;
}
.process-meaning {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
  font-family: "GeistMono", monospace;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink);
}
.process-meaning .process-n {
  color: var(--orange);
  font-size: 11px;
  padding-top: 3px;
}
.process-tags {
  margin-top: 18px;
  font-family: "GeistMono", monospace;
  font-size: 11px;
  opacity: 0.45;
  font-style: italic;
}

.process-copy { padding-top: 6px; }
.process-kicker {
  font-family: "Jersey 10", sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.0;
  color: var(--ink);
  margin: 0 0 22px;
}
.process-copy p {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 16px;
}
.process-closer {
  font-family: "GeistMono", monospace;
  font-size: 14px;
  color: var(--orange);
  border-top: 1px dashed var(--rule);
  padding-top: 16px;
  margin-top: 8px !important;
  margin-bottom: 0 !important;
  letter-spacing: 0.04em;
}

@media (max-width: 760px) {
  .hero-full { padding: 24px 20px 60px; }
}

a { color: inherit; text-decoration: none; }
img { -webkit-user-drag: none; user-drag: none; }
button { font-family: inherit; color: inherit; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* ─── GLOBAL PAGE FRAME ──────────────────────────────────── */

.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 40px 60px;
  position: relative;
}

/* top bar: brand + meta on row 1, channel rail on row 2 */
.topbar {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "brand meta"
    "rail  rail";
  column-gap: 28px;
  row-gap: 18px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 24px;
}
.topbar .brand { grid-area: brand; }
.topbar .topbar-meta { grid-area: meta; }
.topbar .rail { grid-area: rail; align-items: stretch; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 6px;
}
.brand-mark img {
  height: 51px;
  width: auto;
  display: block;
}
.brand-wordmark {
  font-family: "Jersey 10", sans-serif;
  font-size: 30px;
  letter-spacing: 0.01em;
  color: var(--ink);
  line-height: 1;
  padding-top: 3px;
}
.brand-wordmark small {
  display: block;
  font-family: "GeistPixel Square", monospace;
  font-size: 9px;
  letter-spacing: 0.26em;
  color: var(--ink);
  opacity: 0.6;
  margin-top: 3px;
}

.topbar-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  font-family: "GeistPixel Square", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink);
  text-transform: uppercase;
}
.topbar-meta .dot { width:7px; height:7px; border-radius:50%; background:#2a8a3a; display:inline-block; margin-right:6px; animation:blinkDot 1.8s ease-in-out infinite; }
@keyframes blinkDot { 50%{opacity:.35} }
.topbar-meta .cta-btn {
  background: var(--ink);
  color: var(--cream);
  border: 2px solid var(--ink);
  font-family: "GeistPixel Square", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 8px 14px;
  box-shadow: 3px 3px 0 0 var(--orange);
  text-transform: uppercase;
  transition: transform .08s, box-shadow .08s;
}
.topbar-meta .cta-btn:active { transform: translate(3px,3px); box-shadow: none; }
@media (hover: hover) {
  .topbar-meta .cta-btn:hover { transform: translate(1px,1px); box-shadow: 2px 2px 0 0 var(--orange); }
}

/* ─── CHANNEL RAIL (the nav) ─────────────────────────────── */

.rail {
  display: grid;
  grid-template-columns: repeat(8, 1fr) auto;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.rail::-webkit-scrollbar { display: none; }

.rail-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 6px 12px;
  background: transparent;
  border: 2px solid transparent;
  color: var(--ink);
  text-align: left;
  min-width: 88px;
  transition: background 0.12s, border-color 0.12s;
}
@media (hover: hover) { .rail-btn:hover { background: var(--paper); } }

.rail-btn.active {
  background: var(--orange);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 0 var(--ink);
  color: var(--ink);
}

.rail-btn .r-num {
  font-family: "GeistPixel Square", monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  opacity: 0.7;
}
.rail-btn.active .r-num { opacity: 1; }

.rail-btn .r-label {
  font-family: "Jersey 10", sans-serif;
  font-size: 18px;
  letter-spacing: 0.01em;
  line-height: 1;
  padding-top: 2px;
}

/* arrow hints */
.rail-arrows {
  display: flex;
  gap: 6px;
  margin-left: 10px;
}
.rail-arrows button {
  width: 36px; height: 36px;
  background: var(--cream);
  border: 2px solid var(--ink);
  font-family: "GeistPixel Square", monospace;
  font-size: 14px;
  box-shadow: 2px 2px 0 0 var(--ink);
  transition: transform .08s, box-shadow .08s;
}
.rail-arrows button:hover { transform: translate(1px,1px); box-shadow: 1px 1px 0 0 var(--ink); }
.rail-arrows button:active { transform: translate(2px,2px); box-shadow: none; background: var(--orange); }

/* ─── STAGE (content area) ───────────────────────────────── */

.stage {
  position: relative;
  min-height: calc(100vh - 180px);
}

.channel { }

/* ─── SCROLL REVEAL ──────────────────────────────────────────── */
.channel .eyebrow,
.channel .h-section,
.channel .h-display,
.channel .lede,
.channel .svc-layout,
.channel .why-layout,
.channel .reel-wrap,
.channel .logo-marquee-wrap,
.channel .compose,
.channel .contact-info,
.channel .hiw--stack {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.52s ease, transform 0.52s ease;
}
.channel.in-view .eyebrow              { opacity:1; transform:none; transition-delay: 0s; }
.channel.in-view .h-section,
.channel.in-view .h-display            { opacity:1; transform:none; transition-delay: 0.07s; }
.channel.in-view .lede                 { opacity:1; transform:none; transition-delay: 0.13s; }
.channel.in-view .svc-layout,
.channel.in-view .why-layout,
.channel.in-view .reel-wrap,
.channel.in-view .logo-marquee-wrap,
.channel.in-view .compose,
.channel.in-view .contact-info,
.channel.in-view .hiw--stack,
.channel.in-view .process-layout       { opacity:1; transform:none; transition-delay: 0.20s; }

/* ─── CARTRIDGE INSERT ───────────────────────────────────────── */
@keyframes cartInsert {
  0%   { transform: translate(-3px, -5px); }
  30%  { transform: translate(-3px, 12px); }
  62%  { transform: translate(-3px, -7px); }
  82%  { transform: translate(-3px, -3px); }
  100% { transform: translate(-3px, -5px); }
}
.cart.inserting { animation: cartInsert 0.36s cubic-bezier(0.2, 0, 0.6, 1); }

/* ─── CARTRIDGE FLOAT ────────────────────────────────────────── */
@keyframes cartFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  40%       { transform: translateY(-10px) rotate(-0.8deg); }
  70%       { transform: translateY(-5px) rotate(0.4deg); }
}

.cart-row:first-child .cart:nth-child(1) img { animation: cartFloat 4.0s ease-in-out infinite 0.0s; }
.cart-row:first-child .cart:nth-child(2) img { animation: cartFloat 4.6s ease-in-out infinite 0.7s; }
.cart-row:first-child .cart:nth-child(3) img { animation: cartFloat 3.8s ease-in-out infinite 1.4s; }
.cart-row:last-child  .cart:nth-child(1) img { animation: cartFloat 4.3s ease-in-out infinite 0.3s; }
.cart-row:last-child  .cart:nth-child(2) img { animation: cartFloat 4.1s ease-in-out infinite 1.0s; }
.cart-row:last-child  .cart:nth-child(3) img { animation: cartFloat 4.4s ease-in-out infinite 0.5s; }

@media (hover: hover) { .cart:hover img { animation-play-state: paused; } }
.cart.inserting img { animation-play-state: paused; }

/* ─── ANIMATED DOTS ──────────────────────────────────────────── */
.anim-dots { font-style: normal; letter-spacing: -0.02em; }

/* breadcrumb strip above each channel */
.ch-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "GeistPixel Square", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.7;
  padding: 0 0 10px;
  margin-bottom: 20px;
  border-bottom: 1px dashed var(--rule);
}
.ch-strip .strip-now { color: var(--orange); opacity: 1; font-weight: 600; }

/* ─── Typography atoms ───────────────────────────────────── */

.eyebrow {
  font-family: "GeistPixel Square", monospace;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--amber);
  border: 2px solid var(--ink);
  padding: 4px 10px;
  display: inline-block;
  margin: 0 0 14px;
}

.h-display {
  font-family: "Jersey 10", sans-serif;
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.88;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
}
.h-display em {
  font-style: normal;
  color: var(--orange);
}

.h-section {
  font-family: "Jersey 10", sans-serif;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.92;
  color: var(--ink);
  margin: 0;
}

.lede {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
  max-width: 60ch;
}
.lede em {
  font-style: normal;
  color: var(--ink);
  background: linear-gradient(transparent 60%, var(--amber) 60%);
  padding: 0 2px;
}

.body-copy {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
  max-width: 56ch;
}

/* generic chunky button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--cream);
  border: 2px solid var(--ink);
  font-family: "GeistPixel Square", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 0 var(--orange);
  transition: transform .08s, box-shadow .08s;
  text-decoration: none;
}
.btn:active { transform: translate(4px,4px); box-shadow: none; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: 4px 4px 0 0 var(--ink); }
@media (hover: hover) {
  .btn:hover { transform: translate(1px,1px); box-shadow: 3px 3px 0 0 var(--orange); }
  .btn--ghost:hover { box-shadow: 3px 3px 0 0 var(--ink); }
}

/* key hint pill */
.key {
  display: inline-block;
  padding: 2px 6px;
  min-width: 20px;
  text-align: center;
  border: 1.5px solid var(--ink);
  background: var(--cream);
  font-family: "GeistPixel Square", monospace;
  font-size: 10px;
  line-height: 1.2;
  box-shadow: 2px 2px 0 0 var(--ink);
}

/* ─── CH 01 · HERO ───────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; gap: 28px; } }

.hero-title .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "GeistPixel Square", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 2px solid var(--ink);
  background: var(--amber);
  margin-bottom: 18px;
}
.hero-title .tag .pip {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--ink);
  animation: pipPulse 1.1s steps(2) infinite;
}
@keyframes pipPulse { 50% { opacity: 0; } }

.hero-title .lede { margin-top: 22px; }

.hero-title .hero-cta { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }

.hero-hint {
  margin-top: 22px;
  font-family: "GeistPixel Square", monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.55;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-reel {
  position: relative;
  z-index: 11;
  border: 2px solid var(--ink);
  background: var(--ink);
  box-shadow: 6px 6px 0 0 var(--orange);
  aspect-ratio: 4/5;
  overflow: hidden;
}

.hero-reel video {
  width: 100%; height: 100%; object-fit: cover;
}

.hero-reel-sticker {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--cream);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 4px 8px;
  font-family: "GeistPixel Square", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  box-shadow: 2px 2px 0 0 var(--ink);
}

.hero-reel-caption {
  position: absolute;
  bottom: 14px; left: 14px; right: 14px;
  font-family: "GeistPixel Square", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--cream);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
}

/* ─── CH 02 · WHY ────────────────────────────────────────── */

.why .body-copy {
  max-width: 60ch;
}
.why .body-copy + .body-copy { margin-top: 14px; }
.why .lede { margin-top: 20px; }

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .why-layout { grid-template-columns: 1fr; gap: 32px; }
}

.sense-strip {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: "GeistMono", monospace;
  font-size: 18px;
}
.sense-word {
  font-family: "GeistPixel Square", monospace;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--orange);
  display: inline-block;
}
.sense-word.whirred  { animation: whirr 0.45s linear infinite; }
.sense-word.flickered{ animation: flicker 3.5s linear infinite; }
.sense-word.clicked  { animation: clickSlide 3.2s ease-in-out infinite; }
@keyframes whirr { 0%,100%{transform:translate(0,0)} 25%{transform:translate(-0.6px,0.3px)} 50%{transform:translate(0.6px,-0.3px)} 75%{transform:translate(-0.4px,0.4px)} }
@keyframes flicker { 0%,92%,100%{opacity:1} 94%{opacity:0.3} 96%{opacity:1} 98%{opacity:0.1} }
@keyframes clickSlide { 0%,80%,100%{transform:translateX(0)} 85%{transform:translateX(-5px)} 92%{transform:translateX(1px)} }

.why-card {
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 22px 24px;
  box-shadow: 6px 6px 0 0 var(--ink);
  font-family: "GeistMono", monospace;
  font-size: 12px;
  line-height: 1.9;
  color: var(--ink);
}
.why-card h4 {
  font-family: "GeistPixel Square", monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  margin: 0 0 12px;
  text-transform: uppercase;
  color: var(--orange);
}
.why-card .k { color: rgba(25,10,6,0.55); padding-right: 10px; }
.why-card .strike { text-decoration: line-through; opacity: 0.5; }

/* ─── CH 03 · SERVICES (cartridge shelf) ─────────────────── */

.services-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }

.svc-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: stretch;
}

.cart-shelf {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.cart-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 760px) {
  .svc-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .cart-shelf { display: contents; }
  .cart-row          { order: 1; }
  .cart-row:last-child { order: 3; }
  .svc-detail        { order: 2; }
}

.cart {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 4px 0 8px;
  background: transparent;
  border: none;
  transition: transform .12s cubic-bezier(0.2,0.9,0.3,1.1);
  box-shadow: none;
}
@media (hover: hover) { .cart:hover { transform: translate(-2px,-4px); box-shadow: none; } }
.cart.active {
  transform: translate(-3px,-5px);
  background: transparent;
  box-shadow: none;
}
.cart.active .cart-name { background: var(--orange); color: var(--ink); padding: 2px 8px; border: 2px solid var(--ink); }
.cart img { width: 100%; max-width: 100%; height: auto; aspect-ratio: 1/1; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(4px 5px 0 rgba(25,10,6,0.25)); }
.cart:hover img { filter: drop-shadow(5px 7px 0 rgba(25,10,6,0.3)); }
.cart .cart-num {
  font-family: "GeistPixel Square", monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  opacity: 0.65;
}
.cart .cart-name {
  font-family: "Jersey 10", sans-serif;
  font-size: 22px;
  line-height: 1;
  padding-top: 2px;
}

.svc-detail {
  border: 2px solid var(--ink);
  background: var(--cream);
  padding: 28px 30px;
  box-shadow: 6px 6px 0 0 var(--orange);
  min-height: 320px;
  position: relative;
  margin-bottom: 59px;
}

.svc-detail .svc-id {
  font-family: "GeistMono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink);
  opacity: 0.55;
  margin-bottom: 4px;
}
.svc-detail .svc-name {
  font-family: "Jersey 10", sans-serif;
  font-size: 54px;
  line-height: 0.9;
  margin: 0 0 12px;
}
.svc-detail .svc-desc { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; margin-bottom: 18px; max-width: 48ch; }

.svc-detail ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
}
@media (max-width: 520px) { .svc-detail ul { grid-template-columns: 1fr; } }
.svc-detail li {
  font-family: "GeistMono", monospace;
  font-size: clamp(14px, 1.1vw, 17px);
  padding-left: 16px;
  position: relative;
}
.svc-detail li::before { content: "▸"; color: var(--orange); position: absolute; left: 0; }

/* ─── CH 04 · MANIFESTO ──────────────────────────────────── */

.manifesto {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .manifesto { grid-template-columns: 1fr; } }

.man-intro { padding-top: 8px; }
.man-intro .lede { margin-top: 14px; }

.terminal {
  border: 2px solid var(--ink);
  background: var(--ink);
  box-shadow: 6px 6px 0 0 var(--orange);
  overflow: hidden;
}
.terminal-chrome {
  background: var(--cream);
  padding: 8px 14px;
  border-bottom: 2px solid var(--ink);
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: "GeistMono", monospace;
  font-size: 11px;
  color: var(--ink);
  letter-spacing: 0.12em;
}
.t-dot { width: 10px; height: 10px; display: inline-block; border: 1.5px solid var(--ink); }
.t-dot--r { background: #d94a2a; }
.t-dot--a { background: var(--amber); }
.t-dot--g { background: #7fa84a; margin-right: 8px; }

.terminal-body {
  padding: 22px 24px;
  font-family: "GeistMono", monospace;
  font-size: 14px;
  line-height: 1.9;
  color: var(--cream);
  height: 520px;
  overflow: hidden;
}

.term-comment { color: var(--amber); }
.term-strike { position: relative; display: inline-block; color: var(--cream); opacity: 0.85; }
.term-strike::after { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 2px; background: var(--orange); transition: width 0.4s ease; }
.term-strike.done::after { width: 100%; }
.term-closer { color: var(--orange); font-weight: 500; }
.term-cursor { display: inline-block; background: var(--orange); color: var(--orange); margin-left: 2px; animation: termBlink 0.8s step-end infinite; }
@keyframes termBlink { 50% { opacity: 0; } }

/* ─── CH 05 · SHOWREEL ───────────────────────────────────── */

.showreel-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 20px; gap: 20px; flex-wrap: wrap; }

.showreel-note {
  background: var(--amber);
  border: 2px solid var(--ink);
  padding: 14px 18px;
  box-shadow: 3px 3px 0 0 var(--ink);
  max-width: 480px;
  align-self: flex-end;
  margin-left: auto;
}
.showreel-note p {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 8px;
}
.showreel-note .meta {
  font-family: "GeistMono", monospace;
  font-size: 11px;
  color: var(--ink);
  opacity: 0.6;
}

.reel-wrap {
  position: relative;
  width: 100%;
  background: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 0 var(--orange);
  aspect-ratio: 16/9;
  overflow: hidden;
}
.reel-wrap video { display: block; width: 100%; height: 100%; object-fit: cover; }

.reel-play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(25,10,6,0.45);
  border: none;
  transition: opacity 0.2s, background 0.2s;
  padding: 0;
}
.reel-play:hover { background: rgba(25,10,6,0.25); }
.reel-play.hidden { opacity: 0; pointer-events: none; }
.reel-play .play-chip {
  display: flex; align-items: center; gap: 12px;
  background: var(--orange);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 14px 22px;
  box-shadow: 5px 5px 0 0 var(--ink);
  font-family: "GeistPixel Square", monospace;
  font-size: 13px;
  letter-spacing: 0.22em;
}
.reel-play .play-chip svg { width: 16px; height: 16px; fill: var(--ink); }

.reel-controls {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  padding: 14px 16px;
  gap: 10px;
  background: linear-gradient(to top, rgba(25,10,6,0.65), transparent);
  align-items: center;
}
.reel-controls button {
  background: transparent; border: 1.5px solid var(--cream);
  color: var(--cream);
  font-family: "GeistPixel Square", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 6px 10px;
  text-transform: uppercase;
  transition: background 0.12s;
}
.reel-controls button:hover { background: var(--cream); color: var(--ink); }
.reel-fs { margin-left: auto; }

/* ─── CH 06 · CLIENTS (credits roll) ─────────────────────── */

.credits-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 20px; gap: 20px; flex-wrap: wrap; }

.credits-stage {
  position: relative;
  height: 520px;
  border: 2px solid var(--ink);
  background: var(--ink);
  box-shadow: 6px 6px 0 0 var(--orange);
  overflow: hidden;
  perspective: 800px;
  perspective-origin: 50% 110%;
  color: var(--cream);
  cursor: pointer;
}
.credits-roll {
  position: absolute;
  bottom: -40%;
  left: 0; right: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  padding: 28px;
  transform: rotateX(30deg);
  transform-origin: 50% 100%;
  animation: creditsRoll 34s linear infinite;
}
.credits-roll.paused { animation-play-state: paused; }
@keyframes creditsRoll {
  from { transform: rotateX(30deg) translateY(0); }
  to   { transform: rotateX(30deg) translateY(-220%); }
}

.credits-group { text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.credits-role {
  font-family: "GeistPixel Square", monospace;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--amber);
  text-transform: uppercase;
}
.credits-name {
  font-family: "Jersey 10", sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  color: var(--cream);
  line-height: 1;
}

.credits-fade-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(to bottom, var(--ink) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.credits-pause {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--cream);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 6px 10px;
  font-family: "GeistPixel Square", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  z-index: 3;
  box-shadow: 2px 2px 0 0 var(--orange);
}

/* ─── CH 07 · ABOUT ──────────────────────────────────────── */

.about-intro { margin-bottom: 28px; }

.players {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 760px) { .players { grid-template-columns: 1fr; } }

.player {
  position: relative;
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 24px 26px;
  box-shadow: 6px 6px 0 0 var(--ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.player::before {
  content: attr(data-label);
  position: absolute;
  top: -11px; left: 16px;
  background: var(--cream);
  padding: 0 8px;
  font-family: "GeistPixel Square", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--orange);
}

.player-head { display: flex; align-items: center; gap: 14px; }
.player-avatar {
  width: 72px; height: 72px;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 0 var(--ink);
  display: grid; place-items: center;
  overflow: hidden;
  padding: 4px;
}
.player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}
.player-name {
  font-family: "Jersey 10", sans-serif;
  font-size: 34px;
  margin: 0; line-height: 1;
}
.player-role {
  font-family: "GeistMono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink);
  opacity: 0.65;
  margin-top: 4px;
}
.player-bio { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; }

.player-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  font-family: "GeistMono", monospace;
  font-size: 12px;
}
.player-stats > div {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 6px 10px;
  background: var(--cream);
  border: 1.5px solid var(--ink);
}
.player-stats .stat-k { opacity: 0.6; }

/* ─── CH 08 · CONTACT ────────────────────────────────────── */

.contact {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 32px; } }

.contact-info { padding-top: 4px; }
.contact-info .h-section { margin: 14px 0 28px; }

.hiw--stack {
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0;
}
.hiw--stack .hiw-step {
  width: 100%;
  border: 2px solid var(--ink);
  background: var(--amber);
  padding: 14px 18px;
  box-shadow: 3px 3px 0 0 var(--ink);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  align-items: baseline;
}
.hiw--stack .hiw-step .hiw-n { grid-column: 1; grid-row: 1; }
.hiw--stack .hiw-step .hiw-t { grid-column: 2; grid-row: 1; }
.hiw--stack .hiw-step p { grid-column: 1 / -1; grid-row: 2; font-size: 14px; opacity: 0.75; margin: 4px 0 0; line-height: 1.4; }

.compose {
  border: 2px solid var(--ink);
  background: var(--cream);
  box-shadow: 6px 6px 0 0 var(--orange);
}
.compose-head {
  padding: 10px 14px;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  display: flex; gap: 8px; align-items: center;
  font-family: "GeistMono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
}
.compose-body { padding: 20px 24px; display: flex; flex-direction: column; gap: 10px; }

.compose-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: baseline;
  border-bottom: 1px dashed var(--rule);
  padding: 8px 0;
  gap: 10px;
}
.compose-row label {
  font-family: "GeistPixel Square", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink);
  opacity: 0.6;
  text-transform: uppercase;
}
.compose-row input,
.compose-row textarea,
.compose-row select {
  background: transparent;
  border: none;
  color: var(--ink);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 16px;
  padding: 4px 0;
  outline: none;
  width: 100%;
  resize: none;
}
.compose-row input::placeholder,
.compose-row textarea::placeholder { color: rgba(25,10,6,0.35); }
.compose-row textarea { min-height: 110px; line-height: 1.5; font-size: 15px; }

.compose-row select {
  appearance: none;
  font-family: "Jersey 10", sans-serif;
  font-size: 22px;
  color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M0 2 L5 8 L10 2 Z' fill='%23190A06'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 18px;
}

.compose-toolbar {
  display: flex; gap: 12px; align-items: center;
  padding-top: 10px;
  border-top: 2px solid var(--ink);
  margin-top: 6px;
}
.compose-hint {
  margin-left: auto;
  font-family: "GeistMono", monospace;
  font-size: 11px;
  color: var(--ink);
  opacity: 0.55;
}

.compose-success {
  padding: 50px 24px;
  text-align: center;
  font-family: "Jersey 10", sans-serif;
  font-size: 64px;
  color: var(--ink);
  line-height: 0.95;
}
.compose-success em { font-style: normal; color: var(--orange); }
.compose-success small {
  display: block;
  font-family: "GeistMono", monospace;
  font-size: 13px;
  color: var(--ink);
  opacity: 0.6;
  margin-top: 16px;
  letter-spacing: 0.08em;
}

.contact-side { display: flex; flex-direction: column; gap: 16px; }

.contact-card {
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 16px 20px;
  box-shadow: 4px 4px 0 0 var(--ink);
}
.contact-card h4 {
  font-family: "GeistPixel Square", monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--orange);
  margin: 0 0 8px;
  text-transform: uppercase;
}
.contact-card p, .contact-card a {
  font-family: "GeistMono", monospace;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.6;
  margin: 0;
  text-decoration: none;
}
.contact-card a:hover { color: var(--orange); background: var(--amber-bg); }

/* ─── LONG-SCROLL MODE ───────────────────────────────────── */

body.long-scroll .stage > .channel + .channel {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 2px dashed var(--rule);
}

/* ─── FOOTER ─────────────────────────────────────────────── */

.footer {
  margin-top: 80px;
  padding-top: 28px;
  border-top: 2px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: "GeistPixel Square", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.65;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 760px) {
  .page { padding: 18px 20px 40px; }
  .topbar { grid-template-columns: 1fr; gap: 16px; }
  .topbar-meta { justify-content: flex-start; }
  .rail { padding-bottom: 4px; }
  .rail-btn { min-width: 78px; padding: 6px 10px; }
  .rail-arrows { display: none; }
  .rail { display: none; }
  .svc-detail { padding: 20px 22px; }
  .svc-detail .svc-name { font-size: 44px; }
  .h-display { font-size: clamp(48px, 14vw, 76px); }
  .hero { gap: 24px; }
}

/* ─── CH 08 · HOW IT WORKS ──────────────────────────── */
.hiw {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.hiw-step {
  flex: 1;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hiw-step p { font-size: 13px; opacity: 0.7; margin: 0; line-height: 1.4; }
.hiw-n { font-family: var(--mono); font-size: 11px; color: var(--orange); }
.hiw-t { font-family: var(--pixel); font-size: 14px; }
.hiw-arrow { font-size: 18px; opacity: 0.35; padding-top: 18px; }
.compose-error { font-size: 12px; color: var(--orange); padding: 6px 0; }

/* ─── CH 06 · CLIENT LOGOS ───────────────────────────── */
.logo-marquee-wrap {
  overflow: hidden;
  width: 100%;
  padding: 40px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scrollLogos 22s linear infinite;
}
.logo-set {
  display: flex;
  align-items: center;
  gap: 60px;
  padding-right: 60px;
}
.logo-set img {
  height: 72px;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity 0.25s, filter 0.25s;
}
.logo-set img:hover { opacity: 1; filter: grayscale(0); }
@keyframes scrollLogos {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
